package com.netease.imageex.a;

import android.view.MotionEvent;
import java.lang.reflect.Field;

public class a
{
  public static final String a = "MotionEventWrapper";
  public static final int b;
  public static final int c;
  public static final boolean d;
  protected MotionEvent e;

  static
  {
    boolean bool = false;
    try
    {
      MotionEvent.class.getMethod("getPointerCount", new Class[0]);
      bool = true;
      label16: d = bool;
      int i = 5;
      int j = 6;
      if (d);
      try
      {
        i = MotionEvent.class.getField("ACTION_POINTER_DOWN").getInt(null);
        int k = MotionEvent.class.getField("ACTION_POINTER_UP").getInt(null);
        j = k;
        label59: c = i;
        b = j;
        return;
      }
      catch (Exception localException2)
      {
        break label59;
      }
    }
    catch (Exception localException1)
    {
      break label16;
    }
  }

  public a(MotionEvent paramMotionEvent)
  {
    this.e = paramMotionEvent;
  }

  public static a a(MotionEvent paramMotionEvent)
  {
    if (d);
    for (Object localObject = new d(paramMotionEvent); ; localObject = new a(paramMotionEvent))
      return localObject;
  }

  public float a(int paramInt)
  {
    return 0.0F;
  }

  public int a()
  {
    return 1;
  }

  public float b(int paramInt)
  {
    return 0.0F;
  }

  public int b()
  {
    return this.e.getAction();
  }

  public float c()
  {
    return this.e.getX();
  }

  public float d()
  {
    return this.e.getY();
  }

  public MotionEvent e()
  {
    return this.e;
  }

  public long f()
  {
    return this.e.getEventTime();
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.imageex.a.a
 * JD-Core Version:    0.6.0
 */